/*
 * @Author: LiZn
 * @Date: 2018-03-20 16:13:36
 * @LastEditTime: 2021-09-20 04:34:32
 * @LastEditors: LiZn
 * @Description: file content
 * @FilePath: \project\project\src\utils\svg.js
 */
import Vue from 'vue'
import SvgIcon from '@/components/svgIcon'
const req = require.context('@/assets/svg',false,/\.svg$/)
req.keys().map(req);
//注册组件
Vue.component('svg-icon',SvgIcon)
//示例
//<svg-icon iconClass="index"></svg-icon>